package com.etc.admin.service;

import com.etc.entity.Order;

public interface OrderService {
//	public PageData<Order> getOrderByPage(int page, int pageSize, String content);
	public boolean updateOrder(Order order);
	public Order getOrderById(int orderid);
	//退房和办理入住时，根据程序需求,修改订单的状态
	public boolean updateOrderById(int orderid,int orderstatus );
	//创建订单
	public boolean insertSelective(Order order);
	
    /**
     * 总订单数
     * @return
     */
    int orderCount();
    
    
    /**
     * 总营业额
     * @return
     */
    int totalTurnover();
	
}
